<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>show_if</title>
</head>
<body>

{% if student.1 >= 18 %}
    {{ student.0 }}今年{{ student.1 }}岁,是成年学生
{% else %}
    {{ student.0 }}今年{{ student.1 }}岁,不是成年学生
{% endif %}


</body>
</html>